package com.vichat.api.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2017-12-18 13:02:27.642
 */
@Entity
@Table(name = "edpos_json",catalog = "edposdb")
public class VichatJson implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "edpos_json";

    /** */
	public static final String ALIAS_JSON_ID = "json_id";
    /** */
	public static final String ALIAS_JSON_STR = "json_str";
    /** */
	public static final String ALIAS_CREATE_TIME = "create_time";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "json_id", unique = true, nullable = false)
    public Long jsonId;

 	@Column(name = "json_str")
    public String jsonStr;

 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
    public java.util.Date createTime;






	public Long getJsonId() {
		return this.jsonId;
	}

	public void setJsonId(Long value) {
		this.jsonId = value;
	}

	public String getJsonStr() {
		return this.jsonStr;
	}

	public void setJsonStr(String value) {
		this.jsonStr = value;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}



	public VichatJson() {
	}

	public VichatJson(boolean qryflag) {
	    if(qryflag){
	    		this.jsonId = null;
				this.jsonStr = null;
				this.createTime = null;
			    }
	}


	public VichatJson(
	    Long inJsonId,
	    String inJsonStr,
		java.util.Date inCreateTime
	 ) {
		super();
				this.jsonId = inJsonId;
				this.jsonStr = inJsonStr;
				this.createTime = inCreateTime;
			}





}

